
在安卓开发中,要实现“表格表头固定”的效果的话,可以用上两个表格,其中,上面一个只有表头,下面一个只有表格体,并让下面一个表格放置到滚动区域中。这样,就有“表格表头固定”的效果了。
http://www.entreotrascosas.net/creating-dynamic-scrollable-fixed-header-tables-in-android/
亮点:
Then, I came up with a solution a little bit more efficient than the first proposal, in terms of the memory usage. The main difference lies in not having to replicate the whole content of the scrollable table but only the header row and the longest row.
未知美人
HxLauncher: Launch Android applications by voice commands